<?php
/*
 * APP下载
 */
namespace app\home\controller;

use app\common\controller\IndexBase;
use think\facade\Db;
class App extends IndexBase
{

    protected function initialize()
    {
        parent::initialize();
    }

    //首页
    public function index()
    {
        $uid = $this->hashids->decode(UserId());
        !$uid && $this->redirect(url('@login'));
        $info = Db::table('user')->find($uid);
    	return $this->fetch('',['info'=>$info]);
    }
    //委托拼团
    public function qrcode()
    {
        return $this->fetch('');
    }

    //获取状态
    public function ios()
    {
        return $this->fetch('');
    }
    //获取状态
    public function down()
    {
        return $this->fetch('');
    }



}